home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / MPI_Iprobe.z / MPI_Iprobe
Encoding:
Text File  |  2002-10-03  |  3.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. MMMMPPPPIIII____IIIIPPPPRRRROOOOBBBBEEEE((((3333))))                                                    MMMMPPPPIIII____IIIIPPPPRRRROOOOBBBBEEEE((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      MMMMPPPPIIII____IIIIpppprrrroooobbbbeeee - Provides a nonblocking test for a message
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      C:
  13.  
  14.           #include <mpi.h>
  15.  
  16.           int MPI_Iprobe( _s_o_u_r_c_e, _t_a_g, _c_o_m_m, _f_l_a_g, _s_t_a_t_u_s )
  17.           int         _s_o_u_r_c_e;
  18.           int         _t_a_g;
  19.           int         *_f_l_a_g;
  20.           MPI_Comm    _c_o_m_m;
  21.           MPI_Status  *_s_t_a_t_u_s;
  22.  
  23.  
  24.      C++:
  25.  
  26.           #include <mpi.h>
  27.  
  28.           bool Comm::Iprobe(
  29.           int               _s_o_u_r_c_e,
  30.           int               _t_a_g) const
  31.  
  32.  
  33.      Fortran:
  34.  
  35.           INCLUDE "mpif.h" (or USE MPI)
  36.  
  37.           LOGICAL _f_l_a_g
  38.           INTEGER _s_o_u_r_c_e, _t_a_g, _c_o_m_m, _s_t_a_t_u_s(MPI_STATUS_SIZE), _i_e_r_r_o_r
  39.  
  40.           CALL MPI_IPROBE(_s_o_u_r_c_e, _t_a_g, _c_o_m_m, _f_l_a_g, _s_t_a_t_u_s(MPI_STATUS_SIZE), _i_e_r_r_o_r)
  41.  
  42.  
  43. SSSSTTTTAAAANNNNDDDDAAAARRRRDDDDSSSS
  44.      This release implements the MPI 1.2 standard, as documented by the MPI
  45.      Forum in the spring 1997 release of _M_P_I:  _A _M_e_s_s_a_g_e _P_a_s_s_i_n_g _I_n_t_e_r_f_a_c_e
  46.      _S_t_a_n_d_a_r_d.
  47.  
  48. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  49.      The MMMMPPPPIIII____IIIIpppprrrroooobbbbeeee routine provides a nonblocking test for a message.  This
  50.      routine accepts the following parameters:
  51.  
  52.      _s_o_u_r_c_e    Specifes a source rank or MMMMPPPPIIII____AAAANNNNYYYY____SSSSOOOOUUUURRRRCCCCEEEE (integer)
  53.  
  54.      _t_a_g       Specifies a tag value or MMMMPPPPIIII____AAAANNNNYYYY____TTTTAAAAGGGG (integer)
  55.  
  56.      _c_o_m_m      Specifies the communicator (handle)
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MMMMPPPPIIII____IIIIPPPPRRRROOOOBBBBEEEE((((3333))))                                                    MMMMPPPPIIII____IIIIPPPPRRRROOOOBBBBEEEE((((3333))))
  71.  
  72.  
  73.  
  74.      _f_l_a_g      Returns a value of ttttrrrruuuueeee if the operation completed (logical)
  75.  
  76.      _s_t_a_t_u_s    Returns the status object (status)
  77.  
  78.      _i_e_r_r_o_r    Specifies the return code value for successful completion,
  79.                which is in MPI_SUCCESS.  MPI_SUCCESS is defined in the mmmmppppiiiiffff....hhhh
  80.                file.
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.